import request from "@/util/request.js"

export function insertOrUpdateLinkageSettingToDevice(param) {
	return request({
		url: '/iot/device/linkage/setting/insertOrUpdateToDevice',
		method: 'post',
		data: param
	});
}

export function insertOrUpdateLinkageSettingToServer(param) {
	return request({
		url: '/iot/device/linkage/setting/insertOrUpdateToServer',
		method: 'post',
		data: param
	});
}

export function listLinkageSetting(param) {
	return request({
		url: '/iot/device/linkage/setting/list',
		method: 'post',
		data: param
	});
}
